<?php 
/**
 * 角色权限关联model类
 * @Author    紫梦
 * @DateTime  2017-11-18
 * @copyright 响响租车
 * @version   1.0
 */
namespace app\common\model;
use think\Model;

class TmpUser extends Model
{
    protected $autoWriteTimestamp = true;

    public function carsInfo(){
    	return $this->hasOne('Cars','car_id','car_id')->field('car_sn');
    }

    
}